import java.util.Scanner;

public class SortTest {
	public static void main(String[] args) {
		int[] rnd;

		System.out.println("SelectionSort");
		rnd = ArrayUtil.randomIntArray(10, 100);
		System.out.println(ArrayUtil.printArray(rnd, 0, rnd.length - 1));
		System.out.println(new SelectionSort().sort(rnd));
		System.out.println();

		System.out.println("BubbleSort");
		rnd = ArrayUtil.randomIntArray(10, 100);
		System.out.println(ArrayUtil.printArray(rnd, 0, rnd.length - 1));
		System.out.println(new BubbleSort().sort(rnd));
		System.out.println();

		System.out.println("InsertionSort");
		rnd = ArrayUtil.randomIntArray(10, 100);
		System.out.println(ArrayUtil.printArray(rnd, 0, rnd.length - 1));
		System.out.println(new InsertionSort().sort(rnd));
		System.out.println();
	}
}
